const jio = require('joi')

const username = jio.string().min(1).max(10).required()
const password = jio.string().min(5).max(10).pattern(/[0-9a-zA-Z_]/).required()


module.exports.reg_schema_user = {
    body: {
        username,
        password
    }
}